<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>颜色渐变</title>
		<style>
		div#d1{
			height: 800px;
			background: linear-gradient(to bottom,red,green,blue,black);
		}
		div#d2{
			height: 500px;
			width: 500px;
			background: radial-gradient(red,green,blue);
		}
		</style>
	</head>
	<body>
		<div id="d1">1111</div>
		<div id="d2"></div>
	</body>
</html>
